<h1>Last Events</h1>
<table class="event">
<% @events.each do |e| %>
    <% if @current != e.page_id %>
	</table>
	<table class="event">
		<tr>
			<td class="title"><%= link_to "Page: #{e.page.title}", :controller => e.controller, :action => "view", :id => e.page_id %></td>
		</tr>
	<% end %>
		<tr>
			<td class="info"><%= e.timestamp.to_s(:short) %> - <b><%= e.action %></b> by <%= link_to e.user.nickname, :controller => "user", :action => "info", :id => e.user_id %></td>
		</tr>
	<% @current = e.page_id %>
<% end %>
</table>